﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using CIT.WMS.output;

namespace CIT.WMS.Move
{
    public partial class FrmPrepareManage : Form
    {

        public FrmPrepareManage()
        {
            InitializeComponent();     
        }
        void setBtn(Button btn, DataTable dt, int index)
        {

        }
    

        private void btn_close_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btn_virtualMove_Click(object sender, EventArgs e)
        {
            FrmPrepareMaterial frm = new FrmPrepareMaterial();
            frm.ShowDialog();
        }

        private void btn_CancelPrepare_Click(object sender, EventArgs e)
        {
            //FrmCheckUser frmm = new FrmCheckUser();
            //frmm.ShowDialog();
            //if (frmm.flag)
            //{
                FrmPrepareCancel frm = new FrmPrepareCancel();
                frm.ShowDialog();
            //}
        }

        private void btn_Handover_Click(object sender, EventArgs e)
        {
            //FrmCheckUser frmm = new FrmCheckUser();
            //frmm.ShowDialog();
            //if (frmm.flag)
            //{
                FrmMateJJ frm = new FrmMateJJ();
                frm.ShowDialog();
            //}
        }

        private void btn_ProductionPrepare_Click(object sender, EventArgs e)
        {
            //FrmCheckUser frmm = new FrmCheckUser();
            //frmm.ShowDialog();
            //if (frmm.flag)
            //{
                FrmProductionPrepare frm = new FrmProductionPrepare();
                frm.ShowDialog();
            //}
        }

        private void btn_DocPrepare_Click(object sender, EventArgs e)
        {
            //FrmCheckUser frmm = new FrmCheckUser();
            //frmm.ShowDialog();
            //if (frmm.flag)
            //{
                CIT.WMS.output.FrmOutDocPrepare frm = new FrmOutDocPrepare();
                frm.ShowDialog();
            //}
        }

        
    }
}